@charset "UTF-8";
html,
body {
	width: 100%;
	height: 100%;
	position: relative;
	background-color: #fff;
	overflow: hidden;
}

.root {
	height: 100%;
}

.trade {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.trade .t-header {
	height: 0.44rem;
	background-color: #000000;
	font-size: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

a {
	background-color: transparent;
}

.trade .t-header .backTag {
	display: table;
	height: 0.44rem;
	width: .44rem;
}

.trade .t-header .backTag .backWrap {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.trade .t-header .backTag .backWrap .back {
	height: .21rem;
	width: .21rem;
	fill: #fff;
}

.trade .t-header .group {
	display: table;
	height: .44rem;
}

.trade .t-header .group .cell {
	display: table-cell;
	vertical-align: middle;
}

.trade .t-header .group a {
	font-size: 0.16rem;
	color: #ffffff;
	width: 0.82rem;
	height: 0.3rem;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-weight: normal;
	position: relative;
	top: -0.01rem;
}

.trade .t-header .group a.active {
	color: #000;
	background-color: #d5b978;
}

.trade .t-header .group a.order {
	border: 1px solid #d5b978;
	border-radius: 5px 0 0 5px;
	box-sizing: border-box;
}

.position {
	position: relative;
	overflow: hidden;
	display: flex;
	height: 100%;
	flex-direction: column;
}

.trade .t-header .group a.position {
	border: 1px solid #d5b978;
	border-radius: 0px 5px 5px 0px;
	box-sizing: border-box;
}

.trade .t-header .rule {
	width: 0.44rem;
	height: 0.44rem;
	line-height: 0.44rem;
	font-size: 0.13rem;
	color: #d5b978;
	text-align: center;
}


/* 22222 */

.trade .quoteBar.fall {
	background-color: #00b38f;
}

.trade .quoteBar {
	height: 0.4rem;
	/*width: 100%;*/
	display: flex;
	justify-content: space-between;
	padding: 0 0.15rem;
}

.trade .quoteBar>div {
	font-size: 0.15rem;
	height: 0.4rem;
	line-height: 0.4rem;
	color: #ffffff;
}

.trade .quoteBar>div .triangle {
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 0.1rem solid #ffffff;
	border-left: 0.07rem solid transparent;
	border-right: 0.07rem solid transparent;
}
.trade .chartBar{
	position: relative;
	width: 100%;
	height: 0.42rem;
	line-height: 0.42rem;
	background-color: #fff;
}

.trade .chartBar > ul {
    display: flex;
    justify-content: space-around;
    height: 0.42rem;
}
.trade .chartBar > ul li{
	font-size: 0.14rem;
}
.trade .chartBar > ul > li > div {
    height: 0.3rem;
    line-height: 0.3rem;
    padding: 0 0.08rem;
    vertical-align: middle;
    display: inline-block;
    background-color: #f7f7f7;
    border-radius: 5px;
}
.trade .chartBar > ul > li > div.active {
    background-color: #d5b978;
    color: #ffffff;
}

.trade .chart {
    position: relative;
    display: flex;
    flex: 1;
}
.trade .chart .dynamic {
    position: absolute;
    background-color: #fff;
    width: 100%;
    height: 100%;
    flex: 1;
}
.trade .chart .dynamic.hide {
    display: none;

}
.trade .chart .dynamic table {
    width: 100%;
    border-collapse: collapse;
}
.trade .chart .dynamic tr {
    display: flex;
    border-top: 1px solid #e1e1e1;
}
.trade .chart .dynamic tr td {
    height: 0.375rem;
    width: 50%;
    display: flex;
    justify-content: space-between;
}
.trade .chart .dynamic tr td:first-child {
    border-right: 1px solid #e1e1e1;
}
.trade .chart .dynamic tr:last-child {
    border-bottom: 1px solid #e1e1e1;
}
.trade .chart .dynamic tr td span {
    font-size: 0.15rem;
    align-self: center;
    text-align: center;
    padding: 0 0.1rem;
    color: #999999;
}


.trade .chart #tradingView {
    flex: 1;
}
#tradingView {
	/*position: relative;
	width: 100%;
	height: 3.86rem;*/
	flex: 1;
}

#tradingView #view{
	width: 100%;
	height: 100%;
}


.trade .stateBar .loginBar {
    display: flex;
    justify-content: center;
    height: .65rem;
    line-height: .65rem;
}

.trade .stateBar .loginBar > a{
	width: 1rem;
    height: 0.3rem;
    line-height: 0.3rem;
    align-self: center;
    text-align: center;
    font-size: 0.16rem;
    border-radius: 0.05rem;
    border: 0.01rem solid #d5b978;
    margin: 0 0.05rem;
    color: #d5b978;
}
.trade .stateBar .loginBar > a:first-child {
    color: #ffffff;
    background-color: #d5b978;
}
.trade .stateBar .volume {
	width: 100%;
    display: flex;
    height: 0.3rem;
    line-height: 0.3rem;
    justify-content: center;
    font-size: 0;
}
.trade .stateBar .volume .left, .trade .stateBar .volume .right{
	display: flex;
     height: 0.3rem;
    line-height: 0.3rem;
    align-self: center;
    font-size: 0.15rem;
    color: #999999;
    flex: 3;
    overflow: hidden;
    vertical-align: middle;
}

.trade .stateBar .volume .left {
    justify-content: flex-end;
}
.trade .stateBar .volume .left > div, .trade .stateBar .volume .right > div {
    height: 0.05rem;
    line-height: 0.05rem;
    min-width: 0.08rem;
    align-self: center;
}
.trade .stateBar .volume .left > div.raise, .trade .stateBar .volume .right > div.raise {
    background-color: #e34c4c;
}
.trade .stateBar .volume .text {
    height: 0.3rem;
    line-height: 0.3rem;
    font-size: 0.15rem;
    flex: 1;
    text-align: center;
    align-self: center;
    color: #999999;
}
.trade .stateBar .volume .left > div.fall, .trade .stateBar .volume .right > div.fall {
    background-color: #00b38f;
}


.trade .stateBar .controller {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.trade .stateBar .controller .raise, .trade .stateBar .controller .fall {
    width:1.5rem;
    height: .4rem;
    line-height: .4rem;
    font-size: 0.16rem;
    text-align: center;
    color: #ffffff;
    border-radius: 0.05rem;
    margin: 0 0.05rem;
}
.trade .stateBar .controller .raise {
    background-color: #e34c4c;
}
.trade .stateBar .controller .fall {
    background-color: #00b38f;
}